package com.woniuxy.light_smart.mapper;

import com.woniuxy.light_smart.dto.PollingDto;
import com.woniuxy.light_smart.entity.Inspection;
import com.woniuxy.light_smart.vo.PollingVo;

import java.util.List;

/**
* @author asus
* @description 针对表【inspection】的数据库操作Mapper
* @createDate 2022-12-06 15:45:42
* @Entity com.woniuxy.light_smart.entity.Inspection
*/
public interface InspectionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Inspection record);

    int insertSelective(Inspection record);

    Inspection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Inspection record);

    int updateByPrimaryKey(Inspection record);

    List<PollingVo> selectAll();

    List<PollingVo> selectByLike(PollingDto pollingDto);

}
